package com.wms.mail;

import java.util.ArrayList;
import java.util.List;

public class WeekMeetingMail {
	private String username;
	private String password;
	
	public WeekMeetingMail(String username, String password){
		this.username = username;
		this.password = password;
	}
	
	public void sendWMrequest() throws Exception{
		Mail mail = new Mail(username, password);
		List<String> to = new ArrayList<String>();
		List<String> cc = new ArrayList<String>();
		to.add("yongdu@platform.com");
//		cc.add("Xin Li");
		mail.setTo(to);
		mail.setCc(cc);
		mail.createMessage("Test mail. Ignore it.", "Test mail. Ignore it.");
		mail.sendMail();
	}
}
